package com.ziyun.erp.web.modules.purchase.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ziyun.erp.modules.purchase.entity.StorePurchaseApplyDetailEntity;
import com.ziyun.erp.modules.purchase.service.StorePurchaseApplyDetailService;
import io.renren.common.utils.R;

import java.util.List;

/**
 * 门店采购入库明细表
 *
 * @author guizhao
 * @email 
 * @date 2018-09-26 13:28:47
 */
@RestController
@RequestMapping("purchase/storepurchaseapplydetail")
public class StorePurchaseApplyDetailController {
    @Autowired
    private StorePurchaseApplyDetailService storePurchaseApplyDetailService;

    /**
     * 信息
     */
    @RequestMapping("/queryList/{applyId}")
//    @RequiresPermissions("purchase:storepurchaseapplydetail:info")
    public List<StorePurchaseApplyDetailEntity> queryList(@PathVariable("applyId") Integer applyId){
        return storePurchaseApplyDetailService.queryList(applyId);
    }

}
